<%@ page contentType="text/html;charset=utf-8" %>
<%
String editorRootPath = request.getContextPath();
%>
<link rel="STYLESHEET" type="text/css" href="<%=editorRootPath%>/message/edit.css">
<Script src="<%=editorRootPath%>/message/editor_js.jsp?op=<%=request.getParameter("op") %>"></Script>
<script language=javascript>
	var editorRootPath = "<%=editorRootPath%>";
</script>
<Script src="<%=editorRootPath%>/message/editor.js"></Script>
<script language=javascript>

</script>
<style type="text/css">
<!--
body {
	background-color: #e6f3fb;
}
-->
</style><input type="hidden" id="edit" name="edit" value="" />
<div id="cws_edit" height="300">
	<ul id="ExtToolbar0">
	<li >
	<select id="cws_formatSelect"  onchange="cws_doSelectClick('FormatBlock',this)">
	<option>段落格式</option>
	<option value="&lt;P&gt;">普通格式</option>
	<option value="&lt;H1&gt;">标题1</option>
	<option value="&lt;H2&gt;">标题2</option>
	<option value="&lt;H3&gt;">标题3</option>
	<option value="&lt;H4&gt;">标题4</option>
	<option value="&lt;H5&gt;">标题5</option>
	<option value="&lt;H6&gt;">标题6</option>
	<option value="&lt;H7&gt;">标题7</option>
	<option value="&lt;PRE&gt;">已编排格式</option>
	<option value="&lt;ADDRESS&gt;">地址格式</option>
	</select>
	<select language="javascript" class="cws_TBGen" id="FontName" onChange="FormatText ('fontname',this[this.selectedIndex].value);">
	<option class="heading" selected>选择字体</option>
	<option value="宋体">宋体</option>
	<option value="黑体">黑体</option>
	<option value="楷体_GB2312">楷体_GB2312</option>
	<option value="仿宋_GB2312">仿宋_GB2312</option>
	<option value="隶书">隶书</option>
	<option value="幼圆">幼圆</option>
	<option value="新宋体">新宋体</option>
	<option value="细明体">细明体</option>
	<option value="Arial">Arial </option>
	<option value="Arial Black">Arial Black </option>
	<option value="Arial Narrow">Arial Narrow </option>
	<option value="Bradley Hand ITC">Bradley Hand ITC </option>
	<option value="Brush Script	MT">Brush Script MT </option>
	<option value="Century Gothic">Century Gothic </option>
	<option value="Comic Sans MS">Comic Sans MS </option>
	<option value="Courier">Courier </option>
	<option value="Courier New">Courier New </option>
	<option value="MS Sans Serif">MS Sans Serif </option>
	<option value="Script">Script </option>
	<option value="System">System </option>
	<option value="Times New Roman">Times New Roman </option>
	<option value="Viner Hand ITC">Viner Hand ITC </option>
	<option value="Verdana">Verdana </option>
	<option value="Wide Latin">Wide Latin </option>
	<option value="Wingdings">Wingdings</option>
	</select>
	<select language="javascript" class="cws_TBGen" id="FontSize" onChange="FormatText('fontsize',this[this.selectedIndex].value);">                                   
	<option class="heading" selected>字号</option> 
	<option value="1">1 </option>
	<option value="2">2 </option>
	<option value="3">3 </option>
	<option value="4">4 </option>
	<option value="5">5 </option>
	<option value="6">6 </option>
	<option value="7">7</option>
	</select>
	</li>
	<li class="cws_Btn" title="字体颜色" language="javascript" onClick="cws_foreColor();" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/fgcolor.gif" />	</li>
	<li class="cws_Btn" title="字体背景颜色" language="javascript" onClick="cws_backColor();ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';> 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/fbcolor.gif" />	</li>     
	</ul>
	<ul id="ExtToolbar2"> 
	<li class="cws_Btn" title="粗体" language="javascript" onClick="FormatText('bold', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/bold.gif" />	</li>
	<li class="cws_Btn" title="斜体" language="javascript" onClick="FormatText('italic', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/italic.gif" />	</li>
	<li class="cws_Btn" title="下划线" language="javascript" onClick="FormatText('underline', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/underline.gif" />	</li>
	<li class="cws_Btn" title="删除线" language="javascript" onClick="FormatText('strikethrough', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/strikethrough.gif" />	</li>
	<li class="cws_Btn" title="左对齐" NAME="Justify" language="javascript" onClick="FormatText('justifyleft', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/aleft.gif" />	</li>
	<li class="cws_Btn" title="居中" NAME="Justify" language="javascript" onClick="FormatText('justifycenter', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/center.gif" />	</li>
	<li class="cws_Btn" title="右对齐" NAME="Justify" language="javascript" onClick="FormatText('justifyright', '');ondrag='return false;'" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn'; > 
	<img class="cws_Ico" src="<%=editorRootPath%>/message/images/aright.gif" />	</li>
	<!--
	<li class="cws_Btn" title="上传文件" language="javascript" onclick="cws_forfile()" onmouseover=this.className='cws_BtnMouseOverUp'; onmouseout=this.className='cws_Btn';>
	<img class="cws_Ico" src="<%=editorRootPath%>/editor_full/images/file.gif" />
	</li>
	-->
	</ul>
	<ul style="height:100%" id="PostiFrame"><iframe class="cws_Composition" ID="cws_Composition" MARGINHEIGHT="5" MARGINWIDTH="5" width="98%" height="100%" ></iframe> 
	</ul>
</div>
<script language="JavaScript">
var cws_bIsIE5=document.all;
var canusehtml='1';
var PostType=1;
if (cws_bIsIE5){
	var IframeID=frames["cws_Composition"];
	var cws_bIsNC=false;
}
else{
	var IframeID=document.getElementById("cws_Composition").contentWindow;
	var cws_bIsNC=true;
}

if (cws_bLoad==false)
{
	cws_InitDocument("Body","GB2312");
}

if (0==1) {
	initt();
}
else{
	initx();
}

</script>


